'It is recommended to test the script on a local machine for its purpose and effects. 'ManageEngine Desktop Central will not be responsible for any 'damage/loss to the data/setup based on the behavior of the script. 'Description - Script to disable the "auto detect setting" in IE 'Parameters - 'Remarks - 'Configuration Type - USER '============================================================== Option Explicit On Error Resume Next 'Create a constant for the HKEY_CURRENT_USER object Const HKCU = &H80000001 'Define variables Dim strComputer Dim strRegistryKey Dim objRegistry Dim strRegistryValue DIm binValue strComputer = "." strRegistryKey = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" strRegistryValue = "DefaultConnectionSettings" 'Connect to the Registry Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") 'Retrieve the current settings. objRegistry.GetBinaryValue HKCU, strRegistryKey, strRegistryValue, binValue 'Change the 'Automatically detect settings' box to unticked binValue(8) = 05 'binValue(8) = 13 - Enable this line to check the box instead of uncheck 'Save the changes objRegistry.SetBinaryValue HKCU, strRegistryKey, strRegistryValue, binValue